<!--库存查询-->
<template>
  <el-container>
    <el-header>
      <el-button class="btn  float-left" type="primary" round>{{lang._011}}</el-button>
      <!-- 导出按钮 -->
      <el-button class="float-right search-btn" type="primary" round>{{lang._012}}</el-button>
      <el-input class="select-input float-right" v-model="value" :placeholder="lang._355"></el-input>
      <el-select class="select-input float-right" width="166" v-model="value" :placeholder="lang._114" style="width:93px;border-radius:14px 0 0 14px">
      </el-select>
      <!-- 时间选择 -->
    </el-header>
    <!-- 顶部栏 -->
    <el-main>
      <el-table class="text-center tables" :data="tableData" stripe border header-cell-style="color:#409eff;background-color:#ECF5FF;text-align:center;font-size:15px;padding-left:0;padding-right:0">
        <el-table-column prop="uid" :label="lang._045" width="40">
        </el-table-column>
        <el-table-column prop="operate" :label="lang._028" width="103">
          <template slot-scope="scope">
            <el-button type="text">{{lang._078}}</el-button>
          </template>
        </el-table-column>
        <el-table-column prop="number" :label="lang._356" width="196">
        </el-table-column>
        <el-table-column prop="name" :label="lang._357" width="196">
        </el-table-column>
        <el-table-column prop="phone" :label="lang._345" width="196">
        </el-table-column>
        <el-table-column prop="salesCommissions" :label="lang._358" width="196">
        </el-table-column>
        <el-table-column prop="rechargeCommissions" :label="lang._359" width="196">
        </el-table-column>
        <el-table-column prop="timeCardCommissions" :label="lang._360" width="196">
        </el-table-column>
        <el-table-column prop="shopCardCommissions" :label="lang._361" width="196">
        </el-table-column>
        <el-table-column prop="status" :label="lang._362">
        </el-table-column>
      </el-table>
    </el-main>
  </el-container>


</template>
<style lang="less" scoped>
  .el-header {
    .btn {
      margin-top: 15px;
      height: 30px;
      line-height: 30px;
      padding: 0 20px; //   margin-left: 20px;
      //   margin-right: 20px;
    }
    .search-btn {
      height: 30px;
      line-height: 30px;
      padding: 0 20px;
      margin-top: 15px;
      border-radius: 0 14px 14px 0;
      margin-right: 20px;
      margin-left: 0;
    }
    .select-input {
      width: 149px;
      height: 28px;
      line-height: 28px;
      margin-top: 15px;
      border: 1px solid #409EFF;
      border-right: none;
      overflow: hidden;
    }
  }

</style>
<style scoped>
  .el-header,
  .el-footer {
    background-color: #FFF;
    color: #333;
    text-align: center;
    line-height: 60px;
  }

  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }

  .el-main {
    color: #333;
    text-align: center;
    /* line-height: 160px; */
  }

  body>.el-container {
    margin-bottom: 40px;
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }

</style>
<style>
  .el-input__inner {
    height: 28px;
    line-height: 28px;
    border: none;
    margin: 0;
  }

  .el-table {
    margin: 0;
  }

  .el-table .cell,
  .el-table th div,
  .el-table--border td:first-child .cell,
  .el-table--border th:first-child .cell {
    padding-left: 0;
  }

  .el-table .cell,
  .el-table th div {
    padding-right: 0;
  }

</style>


<script>
  export default {
    props: ['lang'],
    data() {
      return {
        tableData: [{
          uid: '1',
          number: '0001',
          name: 'admin',
          phone: '19959773672',
          salesCommissions: '20.00%',
          rechargeCommissions: '20.00%',
          timeCardCommissions: '20.00%',
          shopCardCommissions: '20.00%',
          status: '启用'
        }, {
          uid: '1',
          number: '0001',
          name: 'admin',
          phone: '19959773672',
          salesCommissions: '20.00%',
          rechargeCommissions: '20.00%',
          timeCardCommissions: '20.00%',
          shopCardCommissions: '20.00%',
          status: '启用'
        }, {
          uid: '1',
          number: '0001',
          name: 'admin',
          phone: '19959773672',
          salesCommissions: '20.00%',
          rechargeCommissions: '20.00%',
          timeCardCommissions: '20.00%',
          shopCardCommissions: '20.00%',
          status: '启用'
        }, {
          uid: '1',
          number: '0001',
          name: 'admin',
          phone: '19959773672',
          salesCommissions: '20.00%',
          rechargeCommissions: '20.00%',
          timeCardCommissions: '20.00%',
          shopCardCommissions: '20.00%',
          status: '启用'
        }, {
          uid: '1',
          number: '0001',
          name: 'admin',
          phone: '19959773672',
          salesCommissions: '20.00%',
          rechargeCommissions: '20.00%',
          timeCardCommissions: '20.00%',
          shopCardCommissions: '20.00%',
          status: '启用'
        }, ]
      };
    },
    methods: {
      handleClick(tab, event) {
        console.log(tab, event);
      }
    }
  }

</script>
